package com.shi.yoyoshop.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName type
 */
@TableName(value ="type")
@Data
public class Type implements Serializable {
    /**
     * "分类id"
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * "分类的名称，例如：零食饮料"
     */
    private String name;

    /**
     * "分类的状态，1表示正常，0表示删除"
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}